package com.yh.patterns.decorator.view;

/**
 * @Auther:云尚学Java
 * 黑色边框类
 */
public class BlackBorder extends ViewDecorator{
    public BlackBorder(Component component) {
        super(component, "黑色边框");
    }
    @Override
    public String getDesc() {
        return super.getDesc()+getComponent().getDesc();
    }
}
